﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CoachingOrganizer.Logic.Models.Tools.EmotionsPack
{
    public class EmotionsTraceModel
    {
        private int _selectedCameraIndex;

        public int SelectedCameraIndex
        {
            get { return _selectedCameraIndex; }
            set
            {
                _selectedCameraIndex = value;
                OnSelectedCameraIndexChanged();
            }
        }

        public event EventHandler SelectedCameraIndexChanged;

        public EmotionsTraceModel()
        {

        }

        protected virtual void OnSelectedCameraIndexChanged()
        {
            EventHandler handler = SelectedCameraIndexChanged;
            if (handler != null)
                handler(this, EventArgs.Empty);
        }
    }
}
